<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>编辑公告</title><link href="../style/main.css" rel="stylesheet" type="text/css" />
<link type="text/css" rel="stylesheet"  href="../style/style.css" />

<style type="text/css">
<!--
body{ padding:10px}
.STYLE1 {color: #333333}
.STYLE2 {font-family: Arial, Helvetica, sans-serif}
.STYLE3 {color: #FF0000}
.STYLE4 {color: #0000FF}
.STYLE5 {color: #666666}
.STYLE6 {color: #CCCCCC}
-->
</style>

<%@ taglib prefix="s" uri="/struts-tags" %>

<script type="text/javascript" src="../ckeditor/ckeditor.js"></script>

</head>

<body>
<div id="editNoticeDiv" class="search" style="width:100%;">
	<s:form id="notice" name="notice" action="notice!updateNotice" method="post" theme="simple">
		<s:hidden id="noticeid" name="notice.noticeid"></s:hidden>
    	<table width="100%" border="0" align="left" cellpadding="0" cellspacing="2" class="table4" >
        	<tr>
            	<th height="25" colspan="3" bgcolor="#BBD2F7" class="title">发布公告</th>
            </tr>
            <tr height="50px">
            	<th width="60px">标题：</th>
                <td width="700px">
                	<s:textfield id="noticeTitle" name="notice.noticeTitle" cssStyle="width:500px"/>
                </td>
                <td></td>
            </tr>
            <tr>
            	<th valign="top" width="60px">正文：</th>
                <td>
                	<s:textarea id="noticeContent" name="notice.noticeContent" cols="100" rows="20"></s:textarea>
                </td>
                <td></td>
            </tr>
            <tr>
            	<td></td>
            	<td align="right">
            		<s:submit cssStyle="width:60px" value="更新" />
            		<input type="button" onclick="javascript:closeEdit();" style="width:60px" value="取消" />
            	</td>
                <td></td>
            </tr>
        </table>
        
		<script type="text/javascript"> 
		   CKEDITOR.replace('noticeContent'); 
		</script> 
    </s:form>
</div>
</body>
</html>